
import request,{get} from "@/utils/request";
import { CaptchaResult } from "./type";

export const getCaptcha=()=> {


  return get<undefined,CaptchaResult>("/api/auth/getCaptcha");


    // return request<any, CaptchaResult>({
    //   url: `/api/auth/getCaptcha`,
    //   method: "get",
    // });

}